package com.wyzz.hr.pojo;

import java.math.BigDecimal;

import com.wyzz.hr.pojo.base.BaseEmpsalaryacctitems;

public class Empsalaryacctitems extends BaseEmpsalaryacctitems implements
		Cloneable {

	public String getEsaiDataSeqStr() {
		return (new StringBuilder()).append("A").append(getEsaiDataSeq())
				.toString();
	}

	public void setEsaiDataSeqStr(String esaiDataSeqStr) {
		try {
			setEsaiDataSeq(Integer.valueOf(Integer.parseInt(esaiDataSeqStr
					.substring(1))));
		} catch (Exception e) {
			setEsaiDataSeq(null);
		}
	}

	public Integer getItemChanged() {
		return itemChanged;
	}

	public void setItemChanged(Integer itemDiff) {
		itemChanged = itemDiff;
	}

	public Empsalaryacctitems() {
	}

	public Empsalaryacctitems(String id) {
		super(id);
	}

	public Empsalaryacctitems(String id, Empsalaryacctversion esaiEsav,
			Integer esaiDataSeq, Integer esaiDataIsCalc,
			Integer esaiDataRounding) {
		super(id, esaiEsav, esaiDataSeq, esaiDataIsCalc, esaiDataRounding);
	}

	public BigDecimal getItemValue() {
		return itemValue;
	}

	public void setItemValue(BigDecimal itemValue) {
		this.itemValue = itemValue;
	}

	public BigDecimal getItemConfigValue() {
		return itemConfigValue;
	}

	public void setItemConfigValue(BigDecimal itemConfigValue) {
		this.itemConfigValue = itemConfigValue;
	}

	public Empsalaryacctitems clo() {
		Object obj = null;
		try {
			obj = super.clone();
		} catch (CloneNotSupportedException e) {
			e.printStackTrace();
		}
		return (Empsalaryacctitems) obj;
	}

	public Object clone() throws CloneNotSupportedException {
		return clo();
	}

	private static final long serialVersionUID = 1L;
	private BigDecimal itemValue;
	private BigDecimal itemConfigValue;
	private Integer itemChanged;
	private String esaiDataSeqStr;
}
